package org.springblade.modules.repair.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 人员已到达DTO
 * @author: Sharry
 * @createTime: 2023/6/8 14:25
 * @version: Version-1.0
 */
@Data
public class RescueArriveDTO {

	@NotNull(message = "工单id不能为空")
	@ApiModelProperty("救援工单id")
	private Long planId;

	@NotNull(message = "用户id不能为空")
	@ApiModelProperty("救援人员id")
	private Long userId;

	@NotBlank(message = "经度不能为空")
	@ApiModelProperty("救援人员经度坐标")
	private String longitude;

	@NotBlank(message = "纬度不能为空")
	@ApiModelProperty("救援人员纬度坐标")
	private String latitude;

	@NotBlank(message = "定位位置地址不能为空")
	@ApiModelProperty("定位位置地址")
	private String locationAddress;

	@NotNull(message = "签到状态不能为空")
	@ApiModelProperty("签到状态：1-正常 2-异常")
	private Integer signStatus = 1;

}
